<!DOCTYPE html>
<html lang="en">
<head>
<title>numerik</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<table class="container"><tr><td class="navigation">
<p><a href="AllUnits.html" class="navigation">Units</a></p><p><a href="ClassHierarchy.html" class="navigation">Class Hierarchy</a></p><p><a href="AllClasses.html" class="navigation">Classes, Interfaces, Objects and Records</a></p><p><a href="AllTypes.html" class="navigation">Types</a></p><p><a href="AllVariables.html" class="navigation">Variables</a></p><p><a href="AllConstants.html" class="navigation">Constants</a></p><p><a href="AllFunctions.html" class="navigation">Functions and Procedures</a></p><p><a href="AllIdentifiers.html" class="navigation">Identifiers</a></p><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input"></div><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></form>
<div style="clear: both"></div>
</td><td class="content">
<h1 class="unit">Unit numerik</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Uses</div><div class="one_section"><a class="section" href="#PasDoc-Classes">Classes, Interfaces, Objects and Records</a></div><div class="one_section"><a class="section" href="#PasDoc-FuncsProcs">Functions and Procedures</a></div><div class="one_section"><a class="section" href="#PasDoc-Types">Types</a></div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
A unit containing:

<p></p>

<ul class="paragraph_spacing">
  <li><p>Mathematical operation over TMultiArrays</p></li>
  <li><p>Some linear algebra functionality </p></li>
  <li><p>Random number generation </p></li>
</ul>

<p></p>
<span id="PasDoc-Uses"></span><h2 class="overview">Overview</h2>
<span id="PasDoc-Classes"></span><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">Record&nbsp;<a class="bold" href="numerik.TSVDResult.html"><code>TSVDResult</code></a></td>
<td class="itemdesc">&nbsp;</td>
</tr>
</table>
<span id="PasDoc-FuncsProcs"></span><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Abs">Abs</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#ArgMax">ArgMax</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#ArgMin">ArgMin</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Cos">Cos</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#DegToRad">DegToRad</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#EuclideanDistances">EuclideanDistances</a></strong>(X, Y: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Exp">Exp</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#FullMultiArray">FullMultiArray</a></strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>; val: single): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Ln">Ln</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Log2">Log2</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Max">Max</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Mean">Mean</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Min">Min</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Ones">Ones</a></strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#PseudoInverse">PseudoInverse</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#RandG">RandG</a></strong>(mean, stddev: float; Shape: array of longint): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Random">Random</a></strong>(Shape: array of longint): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#ReduceAlongAxis">ReduceAlongAxis</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; ReduceFunc: <a href="numerik.html#TReduceFunc">TReduceFunc</a>; axis: integer; KeepDims: Boolean = False): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Round">Round</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Sin">Sin</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#Sqrt">Sqrt</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Sum">Sum</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>function <strong><a href="numerik.html#SVD">SVD</a></strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; SigmasAsMatrix: Boolean=False): <a href="numerik.TSVDResult.html">TSVDResult</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <strong><a href="numerik.html#Zeros">Zeros</a></strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Types"></span><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><strong><a href="numerik.html#TReduceFunc">TReduceFunc</a></strong> = function(A, B: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Abs"></span><code>function <strong>Abs</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
&mdash;&mdash;&mdash;&ndash; Arithmetic &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash;</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="ArgMax"></span><code>function <strong>ArgMax</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="ArgMin"></span><code>function <strong>ArgMin</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Cos"></span><code>function <strong>Cos</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compute element wise cosine over A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="DegToRad"></span><code>function <strong>DegToRad</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Convert degree to radian element wise over A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="EuclideanDistances"></span><code>function <strong>EuclideanDistances</strong>(X, Y: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
&mdash;&mdash;&mdash;&ndash; Pairwise distances&mdash;&ndash; &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;-</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Exp"></span><code>function <strong>Exp</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compute element wise exponent over A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="FullMultiArray"></span><code>function <strong>FullMultiArray</strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>; val: single): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Create multiarray with shape Shape containing Ones</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Ln"></span><code>function <strong>Ln</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Log2"></span><code>function <strong>Log2</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Max"></span><code>function <strong>Max</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Mean"></span><code>function <strong>Mean</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compute the mean of a A along axis. The default axis is -1, meaning the mean is computed over all items in A.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Min"></span><code>function <strong>Min</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Ones"></span><code>function <strong>Ones</strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Create multiarray with shape Shape containing Ones</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="PseudoInverse"></span><code>function <strong>PseudoInverse</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Perform pseudoinverse over a matrix A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="RandG"></span><code>function <strong>RandG</strong>(mean, stddev: float; Shape: array of longint): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Gaussian random array generator.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Random"></span><code>function <strong>Random</strong>(Shape: array of longint): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Wrapper for pascal's Random function, as a TMultiArray.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="ReduceAlongAxis"></span><code>function <strong>ReduceAlongAxis</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; ReduceFunc: <a href="numerik.html#TReduceFunc">TReduceFunc</a>; axis: integer; KeepDims: Boolean = False): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Reduce TMultiArray along a specified axis with specified ReduceFunc. This is for convenience rather than performance.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Round"></span><code>function <strong>Round</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Sin"></span><code>function <strong>Sin</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compute element wise sine over A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Sqrt"></span><code>function <strong>Sqrt</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Sum"></span><code>function <strong>Sum</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; axis: integer = -1; KeepDims: boolean=False): <a href="multiarray.TMultiArray.html">TMultiArray</a>; overload;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compute the sum of a A along axis. The default axis is -1, meaning the sum is computed over all items in A.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SVD"></span><code>function <strong>SVD</strong>(A: <a href="multiarray.TMultiArray.html">TMultiArray</a>; SigmasAsMatrix: Boolean=False): <a href="numerik.TSVDResult.html">TSVDResult</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Perform singular value decomposition (SVD) over a matrix A</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Zeros"></span><code>function <strong>Zeros</strong>(Shape: <a href="multiarray.html#TLongVector">TLongVector</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Create multiarray with shape Shape containing zeros</p>
</td></tr>
</table>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TReduceFunc"></span><code><strong>TReduceFunc</strong> = function(A, B: <a href="multiarray.TMultiArray.html">TMultiArray</a>): <a href="multiarray.TMultiArray.html">TMultiArray</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</td></tr></table></body></html>
